package com.partner.frame.common;

import java.io.IOException;  
import java.io.InputStream;  
import java.util.Properties;  

public class GetProPertiesUtil {

	public static String  getProperties(String file ,String pro) throws IOException {  
		  
        InputStream in = ClassLoader.getSystemResourceAsStream(file);
  
        Properties p = new Properties();  
  
        p.load(in);  
  
        return p.getProperty(pro);  
  
    }  
}
